﻿using com.guojin.core.io.message;
using com.guojin.core.io;
using System;

namespace com.guojin.mj.net.message.login
{
    public class SetAdmainRet : Message
    {
        public static int TYPE = 7;
        public static int ID = 80;
        /**设置是否成功
0:管理员已经达到上限
1:设置失败
2设置成功
3 ID 不存在*/
        public int type;
        public void decode(Input _in)
        {
            type = _in.readInt();
        }

        public void encode(Output _out)
        {
           
        }

        public int getMessageId()
        {
            return ID;
        }
        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return type.ToString();
        }
    }
}
